class Arbol_Hoja

    Arbol_Hoja left
    Arbol_Hoja right
    String id

    public void print(int indent, String side)

        String p = ""

        int i = 0
        while(i < indent)
            p += "."
            i++

        shout(p, side, id)

        if( left != null )
            left.print(indent + 1, "L.")

        if( right != null )
            this.right.print(indent + 1, "R.")


    public Arbol_Hoja(String id)
        this.id = id

    public void readyGo()


        Arbol_Hoja root = new Arbol_Hoja("root")

        root.left = new Arbol_Hoja("lannister")
        root.left.left = new Arbol_Hoja("cersei")
        root.left.left.left = new Arbol_Hoja("jeoffrey")
        root.left.left.left = new Arbol_Hoja("myrcella")
        root.left.right = new Arbol_Hoja("tyrion")

        root.right = new Arbol_Hoja("stark")
        root.right.left = new Arbol_Hoja("benjen")
        root.right.right = new Arbol_Hoja("eddard")
        root.right.right.left = new Arbol_Hoja("robb")
        root.right.right.right = new Arbol_Hoja("jon")

        shout("houses.of.the.seven.kingdoms")

        root.print(0, "")

